package top.heliming.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import top.heliming.bean.User;

/**
 * description: //TODO
 *
 * @author: heliming
 * @date:2019/05/22 上午 2:36
 */
public interface UserService {

  User queryById(Long id);

  void deleteById(Long id);

  List<User> queryAll();

  List<User> list(Integer startNo,Integer pageSize,String key);
  Integer count(String key);
}
